<?php include_component('tree'
                    , 'path'
                    , array('path' => 'forgot password?')); ?>
<br/>
<div class="text">
<h2><?php echo ucfirst(__('forgot password?')) ?></h2><br /><br />
<?php if ($sf_flash->has('exception')): ?>
<div ><span style="color: red"><?php echo __($sf_flash->get('exception')) ?></span></div>
<?php endif; ?>
<?php echo ucfirst(__('please, enter your e-mail bellow.')) ?>

<?php echo form_tag('user/forgotpassword') ?>

<?php if ($sf_request->hasErrors()): ?>
    <?php foreach ($sf_request->getErrorNames() as $name): ?>
        <?php echo __($sf_request->getError($name)); ?><br/>
    <?php endforeach; ?>
<?php elseif ($sf_flash->has('notice')): ?>
<h2><?php echo __($sf_flash->get('notice')) ?></h2>
<?php endif; ?>
<?php echo input_tag('user[email]', $sf_params->get('user[email]'), array('class' => 'input')) ?>

<?php echo submit_tag(__('send'), array('class' => 'submit')) ?>
</form>
</div>
<div class="dashed_line">
</div>
<br/>